
//
//  JSMLeavingUserModel.m
//  TakeYouTourTogether
//
//  Created by dllo on 15/11/30.
//  Copyright © 2015年 king. All rights reserved.
//

#import "JSMLeavingUserModel.h"

@implementation JSMLeavingUserModel

- (id)initWithCoder:(NSCoder *)aDecoder {
    self = [super init];
    if (self) {
        self.name = [aDecoder decodeObjectForKey:@"name"];
        self.gender = [aDecoder decodeObjectForKey:@"gender"];
        self.avatar_m = [aDecoder decodeObjectForKey:@"avatar_m"];
        self.cover = [aDecoder decodeObjectForKey:@"cover"];
        self.avatar_s = [aDecoder decodeObjectForKey:@"avatar_s"];
        self.avatar_l = [aDecoder decodeObjectForKey:@"avatar_l"];
    }
    return self;
}

- (void)encodeWithCoder:(NSCoder *)aCoder {
    [aCoder encodeObject:self.name forKey:@"name"];
    [aCoder encodeObject:self.gender forKey:@"gender"];
    [aCoder encodeObject:self.avatar_m forKey:@"avatar_m"];
    [aCoder encodeObject:self.cover forKey:@"cover"];
    [aCoder encodeObject:self.avatar_s forKey:@"avatar_s"];
    [aCoder encodeObject:self.avatar_l forKey:@"avatar_l"];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}

@end
